STEP 5: Now that our mazes are getting longer, let's have the hedgehog leave a trail so it can find its way out again!

  • Go to and drag out Pen Down.
  • Have the hedgehog Move Forward, then Turn Right, and Move Forward again.
  • Change the numbers in the .move_forward() commands so that the hedgehog reaches the goal.

To navigate the page using the TAB key, first press ESC to exit the code editor.

  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)